﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	x:Class="Faust.Andrew.MTG.PagingControl"
	>

	<Grid x:Name="LayoutRoot" Background="{Binding Background, ElementName=PagingControl, Mode=Default}">
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="Auto"/>
			<ColumnDefinition Width="Auto"/>
			<ColumnDefinition Width="Auto"/>
			<ColumnDefinition Width="Auto"/>
			<ColumnDefinition Width="Auto"/>
			<ColumnDefinition Width="Auto"/>
			<ColumnDefinition Width="Auto"/>
		</Grid.ColumnDefinitions>
		<Button x:Name="btnFirst" Margin="0,0,5,0" Content="&lt;&lt;" Width="30" Click="btnFirst_Click"/>
		<Button x:Name="btnPrevious" Margin="0,0,5,0" Content="&lt;" Grid.Column="1" Width="30" Click="btnPrevious_Click"/>
		<Button x:Name="btnNext" Margin="0,0,5,0" Content="&gt;" Grid.Column="5" Width="30" Click="btnNext_Click"/>
		<Button x:Name="btnLast" Margin="0" Content="&gt;&gt;" Grid.Column="6" Width="30" Click="btnLast_Click"/>
		<ComboBox x:Name="cmbPage" Margin="0,0,5,0" Grid.Column="2" Width="60" SelectionChanged="cmbPage_SelectionChanged" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
		<Label Content="of" Grid.Column="3" Margin="0,0,5,0" Foreground="{Binding Foreground, ElementName=PagingControl, Mode=Default}"/>
		<Label x:Name="lblTotal" Content="0" Grid.Column="4" Margin="0,0,5,0" Foreground="{Binding Foreground, ElementName=PagingControl, Mode=Default}" MinWidth="25"/>
	</Grid>
</UserControl>